package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: TaskTagMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-18
 * @Version: 1.0
 * Table: pear_task_tag
 * Comment:
 * 任务标签表
 */
public interface TaskTagMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(TaskTagExample example);

    int insert(TaskTagWithBLOBs record);

    int insertSelective(TaskTagWithBLOBs record);

    List<TaskTagWithBLOBs> selectByExampleWithBLOBs(TaskTagExample example);

    List<TaskTag> selectByExample(TaskTagExample example);

    int countByExample(TaskTagExample example);

    TaskTag selectByPrimaryKey(Integer id);

    TaskTagWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    TaskTag selectById(Integer id);

    TaskTagWithBLOBs selectByIdWithBLOBs(Integer id);

    TaskTag selectByCode(String code);

    TaskTagWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") TaskTagWithBLOBs record, @Param("example") TaskTagExample example);

    int updateByPrimaryKeySelective(TaskTagWithBLOBs record);

    int updateByIdSelective(TaskTagWithBLOBs record);

    int updateByCodeSelective(TaskTagWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TaskTagWithBLOBs record);

    int updateByPrimaryKey(TaskTag record);

    int updateById(TaskTag record);

    int updateByIdWithBLOBs(TaskTagWithBLOBs record);

    List<TaskTagForTags> tagsByExample(TaskTagForTagsExample example);

    int countTagsByExample(TaskTagForTagsExample example);

}
